﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace BCEntity.Common.Wallet
{
    /// <summary>
    /// 钱包
    /// </summary>
    public class WalletEntity
    {
        /// <summary>
        /// 钱包Id
        /// </summary>
        public long WalletId { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public long UserId { get; set; }
        /// <summary>
        /// 余额
        /// </summary>
        public decimal Balance { get; set; }
        /// <summary>
        /// 支付宝授权信息
        /// </summary>
        public string AlipayAuthInfo { get; set; }
        /// <summary>
        /// 微信支付授权信息
        /// </summary>
        public string WxPayAuthInfo { get; set; }
        /// <summary>
        /// 支付密码
        /// </summary>
        public string PayPassword { get; set; }
        /// <summary>
        /// 密码错误次数
        /// </summary>
        public int PasswordErrorCount { get; set; }
        /// <summary>
        /// 冻结时间
        /// </summary>
        public DateTime? FreezeTime { get; set; }
        
    }
}
